import React from 'react';
import { NavLink } from 'react-router-dom'

export default function Menu(props) {
	return (
		<nav id="menu">
			<NavLink exact={true} activeClassName="active" onTouchEnd={() => { props.menuHide() }} className="iconfont icon-home" to="/">首页</NavLink>
			<NavLink exact={true} activeClassName="active" onTouchEnd={() => { props.menuHide() }} className="iconfont icon-kecheng" to="/course">课程安排</NavLink>
			<NavLink exact={true} activeClassName="active" onTouchEnd={() => { props.menuHide() }} className="iconfont icon-peixunjiangshi" to="/teacher">讲师团队</NavLink>
		</nav>
	)
}